<template>
    <div style="padding: 10px;">
       <!-- <el-tabs v-model="tab" @tab-click="cutTabs">
			<el-tab-pane label="基础设置" name="base">
			    <baseconfig v-if="tab == 'base'"></baseconfig>
			</el-tab-pane>
            <el-tab-pane label="福利列表" name="banner">
                <banner v-if="tab == 'banner'"></banner>
            </el-tab-pane>
			<el-tab-pane label="福利小程序" name="shareapp">
			    <share-app v-if="tab == 'shareapp'"></share-app>
			</el-tab-pane>
            <el-tab-pane label="分享设置" name="share">
                <share v-if="tab == 'share'"></share>
            </el-tab-pane>
            <el-tab-pane label="关于我们" name="about">
                <about v-if="tab == 'about'"></about>
            </el-tab-pane>
        </el-tabs> -->
    </div>
</template>

<script>
// import baseconfig from "./base_set.vue";
// import banner from "./banner";
// import shareApp from "./shareapp.vue";
// import share from "./share_set";
// import about from "./about";

export default {
    // components: {baseconfig,banner,shareApp,share, about },
    data() {
        return {
            tab: ""
        };
    },
	methods: {
		cutTabs(res) {
			uni.setStorage({
				key: 'page_tab',
				data: res.name
			});
		}
	},
	mounted() {
		this.tab = uni.getStorageSync('page_tab') || 'base';
	}
};
</script>

<style  >
</style>    